package com.hsd.model;

import java.util.Date;
import java.util.List;

public class RDevice {
    private Integer deviceId;

    private Integer memberId;

    private String deviceName;

    private Date startTime;

    private Date endTime;

    private String imei;

    private Integer userId;

    private Integer delFlag;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateDate;
    private List<RDeviceInfor> infor;
    public List<RDeviceInfor> getInfor(){return infor;};
    public RDevice(Integer deviceId, Integer memberId, String deviceName, Date startTime, Date endTime, String imei, Integer userId, Integer delFlag, String createBy, Date createDate, String updateBy, Date updateDate,List<RDeviceInfor> infor) {
        this.deviceId = deviceId;
        this.memberId = memberId;
        this.deviceName = deviceName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.imei = imei;
        this.userId = userId;
        this.delFlag = delFlag;
        this.createBy = createBy;
        this.createDate = createDate;
        this.updateBy = updateBy;
        this.updateDate = updateDate;
        this.infor=infor;
    }
    public RDevice() {
        super();
    }
    public void setInfor(List<RDeviceInfor> infor){
        this.infor=infor;
    }
    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei == null ? null : imei.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}